//
//  ByViewCitySelect.h
//  mijifen_ios
//
//  Created by 朱凯 on 2017/10/17.
//  Copyright © 2017年 itboye. All rights reserved.
//

#import <UIKit/UIKit.h>

#pragma mark - 城市选择model
@interface ByModelCity : NSObject
@property (nonatomic,copy) NSString *provinceid;        // 省id
@property (nonatomic,copy) NSString *cityid;            // 城市id
@property (nonatomic,copy) NSString *areaid;            // 地区id

@property (nonatomic,copy) NSString *province;          // 省
@property (nonatomic,copy) NSString *city;              // 城市
@property (nonatomic,copy) NSString *area;              // 地区

@property (nonatomic,copy) NSString *fullAddress;       // 完整的地址

@end

#pragma mark - 城市选择视图
@interface ByViewCitySelect : UIControl <UIPickerViewDelegate, UIPickerViewDataSource>

@property (nonatomic, copy) void (^didSelectCity)(ByModelCity *model);

- (void)show;
- (void)hide;

@end
